package com.qyhl.webtv.module_live.teletext.detail;


import com.qyhl.webtv.commonlib.entity.intergral.CoinBean;
import com.qyhl.webtv.commonlib.entity.live.ShoppingListBean;
import com.qyhl.webtv.commonlib.entity.live.TeleTextBean;

/**
 * Created by qyhl on 2017/12/15.
 */

public interface TeleTextContract {
    interface TeleTextView {
        void setDetail(TeleTextBean bean);

        void setError(String msg);

        void setEmpty(String msg);

        void setNetError(String msg);

        void praiseSuccess(String msg);

        void praiseError(String msg);

        void followSuccess(String msg, String sceneId);

        void followError(String msg);

        void unfollowSuccess(String msg, String sceneId);

        void unfollowError(String msg);

        void getCoinSuccess(CoinBean bean);

        void getCoinFailure(String msg);

        void setShopTop(ShoppingListBean bean);
    }

    interface TeleTextPresenter {
        void getDetail(String sceneId);

        void getPraise(String sceneId);

        void addClick(String sceneId);

        void setDetail(TeleTextBean bean);

        void setError(int code, String msg);

        void praiseSuccess(String msg);

        void praiseError(String msg);

        void dofollow(String sceneId);

        void unfollow(String sceneId);

        void followSuccess(String msg, String sceneId);

        void followError(String msg);

        void unfollowSuccess(String msg, String sceneId);

        void unfollowError(String msg);

        void getCoin(String username);

        void getCoinSuccess(CoinBean bean);

        void getCoinFailure(String msg);

        void getShopTop(String sceneId);

        void setShopTop(ShoppingListBean bean);
    }

    interface TeleTextModel {
        void getDetail(String sceneId);

        void getPraise(String sceneId);

        void addClick(String sceneId);

        void dofollow(String sceneId);

        void unfollow(String sceneId);

        void getCoin(String username);

        void getShopTop(String sceneId);

    }
}
